<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>VDS Manager</title>
  </head>
  <body style="background-image: url('<%=path %>/images/login_background.jpg');" >
  	<div align="center" style="margin-top: 16%;">
  		<h3><s:text name="login.title" /></h3>
	  	<s:form action="j_spring_security_check">
	  		<s:textfield name="j_username" label="%{getText('login.userName')}" cssStyle="width: 180px" />
	  		<s:password name="j_password" label="%{getText('login.password')}" cssStyle="width: 180px" />
	  		<s:submit value="%{getText('login.submit')}" />
	  	</s:form>
  	</div>
  </body>
</html>
